MPHB\Upgrader C

Total Complexity 110
Dependencies 17
Dependents 1
Total lines 1,155
Lines of code 608
Logical lines of code 304
Comment lines 244
Methods 52
Properties 7

Methods 52

Method Rating Maintainability Complexity Lines of code
fixGlobalRule()
S
50 7 28
convertSeasonPricesForV5_0_0()
S
49 6 29
fixOldSeasonPricesForV5_0_2()
S
51 6 27
fixForV2_2_0()
S
47 4 36
fixForV2_0_0()
S
48 4 35
fixForV4_2_0()
S
49 4 31
checkVersion()
S
62 5 11
convertCouponFieldsForV5_0_0()
S
52 4 24
upgrade()
S
54 4 21
addIndexesToSyncTablesSince_4_0_0()
S
58 4 15
updateDBVersion()
S
62 4 12
addBookingCancellationPage()
S
55 3 20
addMyAccountPage()
S
55 3 20
fixForV2_3_0()
S
58 3 16
getProgress()
S
59 3 14
createTableCustomers()
S
51 1 30
fixSessionOptions()
S
59 2 13
forceUpgrade()
S
62 2 12
createTableApiKeys()
S
56 1 20
fixForV1_1_0()
S
64 2 10
getCurrentDBVersion()
S
74 2 4
changeOptionName()
S
68 2 7
sortCustomRulesForV5_0_0()
S
68 2 7
fixForV4_4_0()
S
64 2 10
showUpgradeNotice()
S
74 2 5
setScheduledVersion()
S
69 2 7
improveStats()
S
61 1 14
fixForV3_0_2()
S
61 1 13
moveSyncUrls()
S
62 1 13
__construct()
S
62 1 11
hideUpgradeNotice()
S
82 1 3
getTotalQueueSize()
S
79 1 3
checkLicenseStatusForV5_0_0()
S
74 1 5
blockNewBookings()
S
80 1 3
fixCleanOldRules()
S
68 1 8
flushRewriteRules()
S
77 1 4
fixForV4_5_0()
S
72 1 5
complete()
S
73 1 5
getQueueSize()
S
80 1 3
setTotalQueueSize()
S
80 1 3
upgradeAfterImport()
S
82 1 3
removeOutdatedStripeOptions()
S
70 1 7
resetDBVersion()
S
81 1 3
fixForV3_0_0()
S
72 1 6
addDBVersionToHistory()
S
73 1 5
getScheduledVersion()
S
79 1 3
fixForV3_2_0()
S
73 1 5
stopSynchronization()
S
91 1 2
markImported()
S
82 1 3
alterTableSyncLogs()
S
68 1 7
createUploadsDir()
S
77 1 4
startAutodeleteOfSyncLogs()
S
82 1 3